package net.vkits.anjiamiao.domain.repository;

import net.vkits.anjiamiao.domain.model.PayRecord;
import org.springframework.data.repository.PagingAndSortingRepository;

/**
 * Created by ethan-liu on 2016/12/15.
 */
public interface PayRecordRepository extends PagingAndSortingRepository<PayRecord, String> {
    PayRecord findByOutTradeNo(String outTradeNo);
    PayRecord findByTradeNo(String tradeNo);
}
